/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo1029;

/**
 *
 * @author Administrator
 */
class Banji {
    private String no;
    private String name;

    public Banji(String no, String name) {
        this.no = no;
        this.name = name;
    }

    /**
     * @return the no
     */
    public String getNo() {
        return no;
    }

    /**
     * @param no the no to set
     */
    public void setNo(String no) {
        this.no = no;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
    @Override
    public String toString(){
        return name;
    } 
    public static void main(String args[]){
        Banji bj=new Banji("01", "JSJ");
        System.out.println(bj);
    }

   
  }
